package com.lanou3g.ptp.user.service;

import com.lanou3g.ptp.entity.User;

import java.util.List;


public interface UserService {
    User userById(Long id);

    List<User> userByName(String name);

    int deleteById(Long id);

    int upUser(User user) throws Exception;

    Long addUser(User user) throws Exception;



}
